package com.atguigu.spzx.manager.service;

import com.atguigu.spzx.model.entity.brand.Brand;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * title:
 * author: zgl
 * date: 2024/1/3
 * description：
 */
public interface BrandService {
    PageInfo<Brand> getBrandList(Integer pageNum, Integer pageSize);

    void deletedBrand(Long id);

    Brand getBrandById(Long id);

    void updateBrand(Brand brand);

    void saveBrand(Brand brand);

    List<Brand> list();
}
